package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderTravelerExample;
import com.ymttest.database.sharding.db.sharding.model.OrderTravelerPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderTravelerMapper {
    int countByExample(OrderTravelerExample example);

    int deleteByExample(OrderTravelerExample example);

    int deleteByPrimaryKey(String id);

    int insert(OrderTravelerPo record);

    int insertSelective(OrderTravelerPo record);

    List<OrderTravelerPo> selectByExample(OrderTravelerExample example);

    OrderTravelerPo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") OrderTravelerPo record, @Param("example") OrderTravelerExample example);

    int updateByExample(@Param("record") OrderTravelerPo record, @Param("example") OrderTravelerExample example);

    int updateByPrimaryKeySelective(OrderTravelerPo record);

    int updateByPrimaryKey(OrderTravelerPo record);
}